package main

import (
	"tea-fermentation-service/route"
	"github.com/gin-gonic/gin"
	"io"
	"os"
)

func main() {

	gin.DisableConsoleColor()

	// Logging to a file.
	f, _ := os.Create("gin.log")
	gin.DefaultWriter = io.MultiWriter(f)

	router := route.InitRouter()
	router.Run(":8888")
}
